package com.ruoyi.gxdj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 答题结果对象 info_question_naire_log
 * 
 * @author ruoyi
 * @date 2024-03-16
 */
public class InfoQuestionNaireLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 评价id */
    @Excel(name = "评价id")
    private Long userId;

    /** 最后的得分 */
    @Excel(name = "最后的得分")
    private Float sumScore;

    /** 答题内容 */
    @Excel(name = "答题内容")
    private String questionContent;

    private Long questionId;

    private String UserName;

    private String questionTitle;

    public String getQuestionTitle() {
        return questionTitle;
    }

    public void setQuestionTitle(String questionTitle) {
        this.questionTitle = questionTitle;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setSumScore(Float sumScore)
    {
        this.sumScore = sumScore;
    }

    public Float getSumScore()
    {
        return sumScore;
    }
    public void setQuestionContent(String questionContent) 
    {
        this.questionContent = questionContent;
    }

    public String getQuestionContent() 
    {
        return questionContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("sumScore", getSumScore())
            .append("createTime", getCreateTime())
            .append("questionContent", getQuestionContent())
            .toString();
    }
}
